package com.web.exiaodao.business.repository;

import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.repository.PagingAndSortingRepository;

import com.web.exiaodao.business.entity.ExperienceTicketRecord;


public interface ExperienceTicketRecordRepository extends
		PagingAndSortingRepository<ExperienceTicketRecord, Long>,
		JpaSpecificationExecutor<ExperienceTicketRecord> {
	public ExperienceTicketRecord findByIdAndStatusNot(Long id,Integer status);
	
	public ExperienceTicketRecord findByUserIdAndExperienceTicketIdAndStatusNot(Long userId,Long eTicketId,Integer status);
}
